package org.example.frw.verify;

import java.util.Arrays;

public abstract class BaseVerify implements DoVerify {
  protected abstract void doVerify(Object... t);
  @Override
  public void verify(Object... t) {
    Arrays.asList(t).forEach(item->{
      if(item instanceof Verifiable){
        ((Verifiable) item).verify();
      }
    });
  }
}
